Problem Note 37950: $BIDI format produces different results with IF versus WHERE statement
$BIDI format produces different results with IF versus WHERE statement.
In the code below, if the IF statement is changed to a WHERE statement, the code doesn't subset properly.
data a;
x='øìèåº'; y=put(x,$bidi5.); output;
x='ïééìº'; y=put(x,$bidi5.); output;
run;
data b;
set a;
if y = put(x,$bidi5.);
run;
Operating System and Release Information
SAS System | Base SAS | OpenVMS Alpha | 9.1 TS1M0 | 9.3 TS1M0 |
Tru64 UNIX | 9.1 TS1M0 | 9.3 TS1M0 |
HP-UX IPF | 9.1 TS1M0 | 9.3 TS1M0 |
Linux | 9.1 TS1M0 | 9.3 TS1M0 |
64-bit Enabled HP-UX | 9.1 TS1M0 | 9.3 TS1M0 |
64-bit Enabled Solaris | 9.1 TS1M0 | 9.3 TS1M0 |
Microsoft Windows XP Professional | 9.1 TS1M0 | 9.3 TS1M0 |
64-bit Enabled AIX | 9.1 TS1M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M0 | 9.3 TS1M0 |
Microsoft Windows 2000 Professional | 9.1 TS1M0 | |
Microsoft Windows NT Workstation | 9.1 TS1M0 | |
Microsoft Windows 2000 Datacenter Server | 9.1 TS1M0 | |
Microsoft Windows 2000 Server | 9.1 TS1M0 | |
Microsoft Windows 2000 Advanced Server | 9.1 TS1M0 | |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.1 TS1M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.1 TS1M0 | 9.3 TS1M0 |
z/OS | 9.1 TS1M0 | 9.3 TS1M0 |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M0 | 9.3 TS1M0 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | medium |
Topic: | SAS Reference ==> Formats ==> BIDI text handling
|
Date Modified: | 2011-06-01 13:12:07 |
Date Created: | 2009-11-23 12:27:53 |